window['NVC_Opt'] = {
    //无痕配置 && 滑动验证、刮刮卡通用配置
    appkey:'FFFF00000000017BA76D',
    scene:'nvc_login_h5',
    isH5:true,
    popUp:false,
    renderTo:'#captcha',
    nvcCallback:function(data){
        // data为getNVCVal()的值，此函数为二次验证滑动或者刮刮卡通过后的回调函数
        // data跟业务请求一起上传，由后端请求AnalyzeNvc接口，接口会返回100或者900
        console.log('succeess')
    },
    callback: function(data) { //成功回调
        window.console && console.log(data)
    },
    trans: {"key1": "code0","nvcCode":400},
    language: "cn",
    //滑动验证长度配置
    customWidth: 300,
    //刮刮卡配置项
    width: 100,
    height: 80,
    elements: [
        '//img.alicdn.com/tfs/TB17cwllsLJ8KJjy0FnXXcFDpXa-50-74.png',
        '//img.alicdn.com/tfs/TB17cwllsLJ8KJjy0FnXXcFDpXa-50-74.png'
    ],
    bg_back_prepared: '//img.alicdn.com/tps/TB1skE5SFXXXXb3XXXXXXXXXXXX-100-80.png',
    bg_front: '',
    obj_ok: '//img.alicdn.com/tfs/TB1rmyTltfJ8KJjy0FeXXXKEXXa-50-74.png',//自定义验证通过时显示的图标资源
    bg_back_pass: '//img.alicdn.com/tfs/TB1KDxCSVXXXXasXFXXXXXXXXXX-100-80.png',//自定义验证通过时的背景图像，平铺填充
    obj_error: '//img.alicdn.com/tfs/TB1q9yTltfJ8KJjy0FeXXXKEXXa-50-74.png',// 自定义验证失败或异常时显示的图标资源
    bg_back_fail: '//img.alicdn.com/tfs/TB1w2oOSFXXXXb4XpXXXXXXXXXX-100-80.png',//自定义验证失败或异常时显示的背景图像，平铺填充
    //用于自定义刮刮卡文案
    upLang:{"cn":{
            _ggk_guide: "请在屏幕上滑动，刮出两面盾牌",
            _ggk_success: "恭喜您成功刮出盾牌<br/>继续下一步操作吧",
            _ggk_loading: "加载中",
            _ggk_fail: ['呀，盾牌不见了<br/>请', "javascript:NoCaptcha.reset()", '再来一次',],
            _ggk_action_timeout: ['我等得太久啦<br/>请', "javascript:NoCaptcha.reset()", '再来一次'],
            _ggk_net_err: ['网络实在不给力<br/>请', "javascript:NoCaptcha.reset()", '再来一次'],
            _ggk_too_fast: ['您刮得太快啦<br/>请', "javascript:NoCaptcha.reset()", '再来一次']
        }
    }
};
